package com.zking.entityClass;
/**
 * 图书信息
 * @author longl
 *
 */
public class BookInfo {

	   private int id;                  
	   private String BookName;//书名             
	   private String author; //作者              
	   private double price; //定价        
	   private int inventoryNums;//库存数量        
	   private String bookStoreId;//书架号        
	   private String type; //   类别           
	   private String  publishHouse;  //出版社 
	   private double retailPrice; //零售价       
	   private double vipPrice ;   // 会员价      
	   private double wholsalePrice;  //批发价     
	   private int countMax ;  // 库存上限      
	   private int countMin;    // 库存下限       
	   private String openDate ;  // 上架日期        
	   private double costPrice;    //成本价       
	   private String  isEveryDiscount;  //是否按本折扣   
	   private String  isMemberDiscount;   //  是否会员打折
	   private int startCount;         // 初期库存 
	   private double retailDiscount; //零售折扣
	   private double wholDiscount ;    // 批发折扣  
	   
	   
	   public BookInfo(int id, String bookName, String author, double price, int inventoryNums, String bookStoreId,
			String type, String publishHouse, double retailPrice, double vipPrice, double wholsalePrice, int countMax,
			int countMin, String openDate, double costPrice, String isEveryDiscount, String isMemberDiscount,
			int startCount, double retailDiscount, double wholDiscount) {
		super();
		this.id = id;
		BookName = bookName;
		this.author = author;
		this.price = price;
		this.inventoryNums = inventoryNums;
		this.bookStoreId = bookStoreId;
		this.type = type;
		this.publishHouse = publishHouse;
		this.retailPrice = retailPrice;
		this.vipPrice = vipPrice;
		this.wholsalePrice = wholsalePrice;
		this.countMax = countMax;
		this.countMin = countMin;
		this.openDate = openDate;
		this.costPrice = costPrice;
		this.isEveryDiscount = isEveryDiscount;
		this.isMemberDiscount = isMemberDiscount;
		this.startCount = startCount;
		this.retailDiscount = retailDiscount;
		this.wholDiscount = wholDiscount;
	}
	   
    @Override
	public String toString() {
		return "BookInfo [id=" + id + ", BookName=" + BookName + ", author=" + author + ", price=" + price
				+ ", inventoryNums=" + inventoryNums + ", bookStoreId=" + bookStoreId + ", type=" + type
				+ ", publishHouse=" + publishHouse + ", retailPrice=" + retailPrice + ", vipPrice=" + vipPrice
				+ ", wholsalePrice=" + wholsalePrice + ", countMax=" + countMax + ", countMin=" + countMin
				+ ", openDate=" + openDate + ", costPrice=" + costPrice + ", isEveryDiscount=" + isEveryDiscount
				+ ", isMemberDiscount=" + isMemberDiscount + ", startCount=" + startCount + ", retailDiscount="
				+ retailDiscount + ", wholDiscount=" + wholDiscount + "]";
	}

	public BookInfo() {
    	
    }

	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public String getBookName() {
		return BookName;
	}


	public void setBookName(String bookName) {
		BookName = bookName;
	}


	public String getAuthor() {
		return author;
	}


	public void setAuthor(String author) {
		this.author = author;
	}


	public double getPrice() {
		return price;
	}


	public void setPrice(double price) {
		this.price = price;
	}


	public int getInventoryNums() {
		return inventoryNums;
	}


	public void setInventoryNums(int inventoryNums) {
		this.inventoryNums = inventoryNums;
	}


	public String getBookStoreId() {
		return bookStoreId;
	}


	public void setBookStoreId(String bookStoreId) {
		this.bookStoreId = bookStoreId;
	}


	public String getType() {
		return type;
	}


	public void setType(String type) {
		this.type = type;
	}


	public String getPublishHouse() {
		return publishHouse;
	}


	public void setPublishHouse(String publishHouse) {
		this.publishHouse = publishHouse;
	}


	public double getRetailPrice() {
		return retailPrice;
	}


	public void setRetailPrice(double retailPrice) {
		this.retailPrice = retailPrice;
	}


	public double getVipPrice() {
		return vipPrice;
	}


	public void setVipPrice(double vipPrice) {
		this.vipPrice = vipPrice;
	}


	public double getWholsalePrice() {
		return wholsalePrice;
	}


	public void setWholsalePrice(double wholsalePrice) {
		this.wholsalePrice = wholsalePrice;
	}


	public int getCountMax() {
		return countMax;
	}


	public void setCountMax(int countMax) {
		this.countMax = countMax;
	}


	public int getCountMin() {
		return countMin;
	}


	public void setCountMin(int countMin) {
		this.countMin = countMin;
	}


	public String getOpenDate() {
		return openDate;
	}


	public void setOpenDate(String openDate) {
		this.openDate = openDate;
	}


	public double getCostPrice() {
		return costPrice;
	}


	public void setCostPrice(double costPrice) {
		this.costPrice = costPrice;
	}


	public String getIsEveryDiscount() {
		return isEveryDiscount;
	}


	public void setIsEveryDiscount(String isEveryDiscount) {
		this.isEveryDiscount = isEveryDiscount;
	}


	public String getIsMemberDiscount() {
		return isMemberDiscount;
	}


	public void setIsMemberDiscount(String isMemberDiscount) {
		this.isMemberDiscount = isMemberDiscount;
	}


	public int getStartCount() {
		return startCount;
	}


	public void setStartCount(int startCount) {
		this.startCount = startCount;
	}


	public double getRetailDiscount() {
		return retailDiscount;
	}


	public void setRetailDiscount(double retailDiscount) {
		this.retailDiscount = retailDiscount;
	}


	public double getWholDiscount() {
		return wholDiscount;
	}


	public void setWholDiscount(double wholDiscount) {
		this.wholDiscount = wholDiscount;
	}
	 
	
	
	
	
}
